package lab02.test35;

class Manager extends Employee {

   double monthSalary;

    public Manager(String name,double monthSalary) {

        super(name);
       this.monthSalary=monthSalary;
        }


    @Override
  public double calSalary() {
        return monthSalary;
    }
}
